﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace RestaurantManagerWebApp.MasterPage
{
    public partial class Main : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //testings
        }

        /*Menu Management
         * 21/06/2014 Ingrid
         */
        protected void btnMenuManagement_Click(object sender, EventArgs e)
        {
            Response.Redirect("~/Pages/MenuManagement/MainMenuManagement.aspx");
        }

        /*Order Management
         * 21/06/2014 Ingrid
         */
        protected void btnOrderManagement_Click(object sender, EventArgs e)
        {
            Response.Redirect("~/Pages/OrderManagement/MainOrderManagement.aspx");
        }

        /*Stock Management
         * 21/06/2014 Ingrid
         */
        protected void btnStockManagement_Click(object sender, EventArgs e)
        {
            Response.Redirect("~/Pages/StockManagement/MainStockManagement.aspx");
        }

        /*User Management
         * 21/06/2014 Ingrid
         */
        protected void btnUserManagement_Click(object sender, EventArgs e)
        {
            Response.Redirect("~/Pages/UserManagement/ManagementHome.aspx");
        }

        /*Table Management
         * 21/06/2014 Ingrid
         */
        protected void btnTableManagement_Click(object sender, EventArgs e)
        {
            Response.Redirect("~/Pages/TableManagement/MainTableManagement.aspx");
        }

        /*Reports Management
         * 21/06/2014 Ingrid
         */
        protected void btnReports_Click(object sender, EventArgs e)
        {
            Response.Redirect("~/Pages/Reports/MainReportManagement.aspx");
        }

        protected void btnStockManagement_Click1(object sender, EventArgs e)
        {
            Response.Redirect("~/Pages/StockManagement/MainStockManagement.aspx");
        }

        
    }
}